package com.sinosoft.ebusiness.domain.elementManage;
// 采用工具 Hibernate Tools 3.2.4.GA (sinosoft version) 生成，请勿手工修改。

import java.math.BigDecimal;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sinosoft.ebusiness.domain.elementManage.GeRationId;

/**
 * POJO类GeRation
 */
@Entity
@Table(name = "GE_RATION")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class GeRation implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6753057462307650507L;

	/** 属性ID */
	private GeRationId id;

	/** 属性定额类型名称 */
	private String rationName;

	/** 属性保险金额/赔偿限额 */
	private BigDecimal amount;

	/** 属性费率 */
	private BigDecimal rate;

	/** 属性保费/储金 */
	private BigDecimal premium;

	/** 属性币别 */
	private String currency;

	/** 属性标志 */
	private String flag;

	/** 属性险别名称 */
	private String kindName;

	/** 属性检验人信息 */
	private String mark;

	/** 属性折扣率 */
	private BigDecimal discountRate;

	/**
	 * 类GeRation的默认构造方法
	 */
	public GeRation() {
	}

	/**
	 * 属性ID的getter方法
	 */
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "rationType", column = @Column(name = "RATIONTYPE")),
			@AttributeOverride(name = "riskCode", column = @Column(name = "RISKCODE")),
			@AttributeOverride(name = "kindCode", column = @Column(name = "KINDCODE")),
			@AttributeOverride(name = "itemCode", column = @Column(name = "ITEMCODE")),
			@AttributeOverride(name = "comCode", column = @Column(name = "COMCODE")),
			@AttributeOverride(name = "term", column = @Column(name = "TERM")) })
	public GeRationId getId() {
		return this.id;
	}

	/**
	 * 属性ID的setter方法
	 */
	public void setId(GeRationId id) {
		this.id = id;
	}

	/**
	 * 属性定额类型名称的getter方法
	 */

	@Column(name = "RATIONNAME")
	public String getRationName() {
		return this.rationName;
	}

	/**
	 * 属性定额类型名称的setter方法
	 */
	public void setRationName(String rationName) {
		this.rationName = rationName;
	}

	/**
	 * 属性保险金额/赔偿限额的getter方法
	 */

	@Column(name = "AMOUNT")
	public BigDecimal getAmount() {
		return this.amount;
	}

	/**
	 * 属性保险金额/赔偿限额的setter方法
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	/**
	 * 属性费率的getter方法
	 */

	@Column(name = "RATE")
	public BigDecimal getRate() {
		return this.rate;
	}

	/**
	 * 属性费率的setter方法
	 */
	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	/**
	 * 属性保费/储金的getter方法
	 */

	@Column(name = "PREMIUM")
	public BigDecimal getPremium() {
		return this.premium;
	}

	/**
	 * 属性保费/储金的setter方法
	 */
	public void setPremium(BigDecimal premium) {
		this.premium = premium;
	}

	/**
	 * 属性币别的getter方法
	 */

	@Column(name = "CURRENCY")
	public String getCurrency() {
		return this.currency;
	}

	/**
	 * 属性币别的setter方法
	 */
	public void setCurrency(String currency) {
		this.currency = currency;
	}

	/**
	 * 属性标志的getter方法
	 */

	@Column(name = "FLAG")
	public String getFlag() {
		return this.flag;
	}

	/**
	 * 属性标志的setter方法
	 */
	public void setFlag(String flag) {
		this.flag = flag;
	}

	/**
	 * 属性险别名称的getter方法
	 */

	@Column(name = "KINDNAME")
	public String getKindName() {
		return this.kindName;
	}

	/**
	 * 属性险别名称的setter方法
	 */
	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	/**
	 * 属性检验人信息的getter方法
	 */

	@Column(name = "MARK")
	public String getMark() {
		return this.mark;
	}

	/**
	 * 属性检验人信息的setter方法
	 */
	public void setMark(String mark) {
		this.mark = mark;
	}

	/**
	 * 属性折扣率的getter方法
	 */

	@Column(name = "DISCOUNTRATE")
	public BigDecimal getDiscountRate() {
		return this.discountRate;
	}

	/**
	 * 属性折扣率的setter方法
	 */
	public void setDiscountRate(BigDecimal discountRate) {
		this.discountRate = discountRate;
	}

}
